<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <table>
        <tr>
            <td>商品:</td>
            <td><input type="text" name="productName"></td>
        </tr>
        <tr>

            <td>余额:</td>
            <td><input type="text" name="price"></td>
        </tr>
        <tr>
            <td>库存:</td>
            <td><input type="text" name="stock"></td>
        </tr>
        
        <tr>
            <td><input type="button" value="保存" onclick="save()"></td>
            <td><input type="button" value="返回" onclick="cancel()"></td>
        </tr>
    </table>

    <script src="./js/jquery-3.6.0.min.js"></script>
    <script src="./js/init.js"></script>
    <script>
        function cancel(){
            window.location.href = 'index.html'
        }
    </script>
</body>

</html>